package com.sgb.kjwl.model.entity.manage

import java.io.Serializable

data class WebsiteConfigureEntity(
    var useTemplate: Int = 1, //当前模板名称 模板一 1， 模板二 2， 模板三 3
    var effect: String = "", //轮播图展示方式
    var colorSelect: Int = 0, //当前选中的颜色
    var navigateBar: ArrayList<NavigateBarEntity> = ArrayList(), //导航
    var internally: ArrayList<MenuEntity> = ArrayList(), //对内操作菜单
    var foreign: ArrayList<MenuEntity> = ArrayList(), //对外操作菜单
    var colorScheme: ColorEntity = ColorEntity(),
    var adSettings : ArrayList<WebsiteBannerEntity> = ArrayList() //广告页
) : Serializable {
    data class NavigateBarEntity(
        var show: Boolean = true, //是否显示
        var title: String = "",  //tab标题
        var key: Int = 0
    ) : Serializable

    data class MenuEntity(
        var name: String = "", //菜单名称
        var checked: Boolean = true, //是否显示
        var key: Int = 0
    ) : Serializable

    data class ColorEntity(
        var backgroundColor: String = "", //rgb 透明度
        var color: String = "", //十六进制颜色
    ) : Serializable
}